package model

import "gorm.io/gorm"

type User15 struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}
type Article15 struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Author  string `gorm:"type:varchar(55)"`
	Content string `gorm:"type:varchar(255)"`
	Uid     int    `gorm:"type:int"`
}
type UserArticle struct {
	ArticleId int
	Username  string
	Password  string
	Title     string
	Author    string
	Content   string
}
type UA struct {
	gorm.Model
	Uid int `gorm:"type:int"`
	Aid int `gorm:"type:int"`
}
